/*
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2014 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
*/
package com.mes.data;

import java.util.Date;

import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.base.structure.Traceable;
import org.openbravo.model.ad.access.User;
import org.openbravo.model.ad.system.Client;
import org.openbravo.model.common.enterprise.Organization;
/**
 * Entity class for entity Emes_Group_Schedule (stored in table Emes_Group_Schedule).
 *
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 */
public class EmesGroupSchedule extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "Emes_Group_Schedule";
    public static final String ENTITY_NAME = "Emes_Group_Schedule";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_EMESGROUP = "emesGroup";
    public static final String PROPERTY_EMESEMPLOYEE = "emesEmployee";
    public static final String PROPERTY_SCHEDULEDATE = "scheduleDate";
    public static final String PROPERTY_EMESCALENDARTEMPLATE = "emesCalendarTemplate";
    public static final String PROPERTY_REMARK = "remark";
    public static final String PROPERTY_SCHEDULETYPE = "scheduleType";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_EMESGROUPNAME = "emesGroupName";
    public static final String PROPERTY_EMESEMPLOYEENAME = "emesEmployeeName";
    public static final String PROPERTY_IMPMONTH = "iMPMonth";
    public static final String PROPERTY_WORKSHIFT = "workShift";
    public static final String PROPERTY_CLOSINGTIME = "closingTime";
    public static final String PROPERTY_STATUS = "status";

    public EmesGroupSchedule() {
        setDefaultValue(PROPERTY_ACTIVE, true);
    }

    @Override
    public String getEntityName() {
        return ENTITY_NAME;
    }

    public String getId() {
        return (String) get(PROPERTY_ID);
    }

    public void setId(String id) {
        set(PROPERTY_ID, id);
    }

    public EmesGroup getEmesGroup() {
        return (EmesGroup) get(PROPERTY_EMESGROUP);
    }

    public void setEmesGroup(EmesGroup emesGroup) {
        set(PROPERTY_EMESGROUP, emesGroup);
    }

    public EmesEmployee getEmesEmployee() {
        return (EmesEmployee) get(PROPERTY_EMESEMPLOYEE);
    }

    public void setEmesEmployee(EmesEmployee emesEmployee) {
        set(PROPERTY_EMESEMPLOYEE, emesEmployee);
    }

    public Date getScheduleDate() {
        return (Date) get(PROPERTY_SCHEDULEDATE);
    }

    public void setScheduleDate(Date scheduleDate) {
        set(PROPERTY_SCHEDULEDATE, scheduleDate);
    }

    public EmesCalendarTemplate getEmesCalendarTemplate() {
        return (EmesCalendarTemplate) get(PROPERTY_EMESCALENDARTEMPLATE);
    }

    public void setEmesCalendarTemplate(EmesCalendarTemplate emesCalendarTemplate) {
        set(PROPERTY_EMESCALENDARTEMPLATE, emesCalendarTemplate);
    }

    public String getRemark() {
        return (String) get(PROPERTY_REMARK);
    }

    public void setRemark(String remark) {
        set(PROPERTY_REMARK, remark);
    }

    public String getScheduleType() {
        return (String) get(PROPERTY_SCHEDULETYPE);
    }

    public void setScheduleType(String scheduleType) {
        set(PROPERTY_SCHEDULETYPE, scheduleType);
    }

    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    }

    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    }

    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    }

    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    }

    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    }

    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    }

    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    }

    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    }

    public User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    }

    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    }

    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    }

    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    }

    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    }

    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    }

    public String getEmesGroupName() {
        return (String) get(PROPERTY_EMESGROUPNAME);
    }

    public void setEmesGroupName(String emesGroupName) {
        set(PROPERTY_EMESGROUPNAME, emesGroupName);
    }

    public String getEmesEmployeeName() {
        return (String) get(PROPERTY_EMESEMPLOYEENAME);
    }

    public void setEmesEmployeeName(String emesEmployeeName) {
        set(PROPERTY_EMESEMPLOYEENAME, emesEmployeeName);
    }

    public String getIMPMonth() {
        return (String) get(PROPERTY_IMPMONTH);
    }

    public void setIMPMonth(String iMPMonth) {
        set(PROPERTY_IMPMONTH, iMPMonth);
    }

    public Date getWorkShift() {
        return (Date) get(PROPERTY_WORKSHIFT);
    }

    public void setWorkShift(Date workShift) {
        set(PROPERTY_WORKSHIFT, workShift);
    }

    public Date getClosingTime() {
        return (Date) get(PROPERTY_CLOSINGTIME);
    }

    public void setClosingTime(Date closingTime) {
        set(PROPERTY_CLOSINGTIME, closingTime);
    }

    public String getStatus() {
        return (String) get(PROPERTY_STATUS);
    }

    public void setStatus(String status) {
        set(PROPERTY_STATUS, status);
    }

}
